## Copyright 2023 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

@PACKAGE_INIT@

set(OIDN_DEVICE_CPU  @OIDN_DEVICE_CPU@)
set(OIDN_DEVICE_SYCL @OIDN_DEVICE_SYCL@)
set(OIDN_DEVICE_CUDA @OIDN_DEVICE_CUDA@)
set(OIDN_DEVICE_HIP  @OIDN_DEVICE_HIP@)

set(OIDN_FILTER_RT @OIDN_FILTER_RT@)
set(OIDN_FILTER_RTLIGHTMAP @OIDN_FILTER_RTLIGHTMAP@)

set(OIDN_STATIC_LIB @OIDN_STATIC_LIB@)

if(OIDN_STATIC_LIB AND OIDN_DEVICE_CPU)
  include(CMakeFindDependencyMacro)
  find_dependency(TBB)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/OpenImageDenoiseTargets.cmake")

check_required_components(OpenImageDenoise)